package com.jt.sp01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 订单实体类
 * @author 郭鲁政
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private String id;
    /** 订单所属的用户*/
    private User user;
    /**
     * 订单商品
     */
    private List<Item> items;

}
